﻿using System.Collections.Generic;

namespace StudentManagementSystem.Models
{
    public class Class
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public int SchoolId { get; set; }
        public virtual School School { get; set; }
        public virtual ICollection<Student> Students { get; set; } = new List<Student>();
    }
}